package com.sxs.easyhttp.config;

import com.sxs.easyhttp.annotation.HttpIgnore;

/**
 * @author sxs
 * @date :2020/8/17 14:41
 * @description: 请求接口简单配置类
 */
public final class RequestApi implements IRequestApi {

    /**
     * 接口地址
     */
    @HttpIgnore
    private String mApi;

    public RequestApi(String api) {
        mApi = api;
    }

    @Override
    public String getApi() {
        return mApi;
    }

    @Override
    public String toString() {
        return mApi;
    }
}